package com.fesine.ch02.throwExceptionNoLock;

/**
 * @Author: Fesine
 * @CreateDate:2016/6/29
 * @UpdateUser:修改人名称
 * @UpdateDate:2016/6/29
 * @UpdateRemark:修改具体的内容
 */
public class ThreadB extends Thread {
    private Service service;

    public ThreadB(Service service) {
        super();
        this.service = service;
    }

    @Override
    public void run() {
        service.testMehod();
    }
}
